<?php
namespace x;
ini_set('display_errors','On');
ini_set('short_open_tag','On');
//session_start();

require __DIR__.'/Function.php';
$debug = env('debug') || in_array(ip(), env('debug_true_ip')) ? true : false;
if($debug){
  error_reporting(E_ALL);
}else{
  error_reporting(0);
}
require __DIR__ . '/Loader.php';
require __DIR__.'/../vendor/autoload.php';
Loader::register();
Loader::loadComposerAutoloadFiles();
G::init();
Config::setConfig();
Container::get(App::class)->run();
